import request from '@/utils/mockAxiosReq'
import { ObjTy } from '~/common'

export function getList(params: ObjTy) {
  return request({
    url: '/vue3-admin-template/table/list',
    method: 'get',
    params
  })
}
export function getHeader() {
  return request({
    url: '/vue-element-admin/table/header',
    method: 'get'
  })
}
export function getHeaderById(params: any) {
  return request({
    url: '/vue-element-admin/table/id',
    method: 'get',
    params
  })
}
